package com.situ.shoplook.admin.mapper;

import com.situ.shoplook.admin.model.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * @author 86198
 * @description 针对表【admin】的数据库操作Mapper
 * @createDate 2024-08-30 09:40:14
 * @Entity com.situ.shoplook.admin.model.Admin
 */

public interface AdminMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    Admin selectByLoginName(String loginName);

    int deleteByIds(@Param("ids") Integer[] ids);

    List<Admin> search(Admin admin);
}
